@charset "utf-8";
/**
 * Created by kroyo on 2018/03/09
 * usercommon  用户中心公共样式
 */


@import 'mixincommon';

.cke_dialog_image_url{
    .cke_dialog_ui_button{
//      display: none !important;
    }
}

.yelow{
    color: $yelow;
}
.blue{
    color: $acolor;
}


body{
    height: auto;
    min-height: 100%;
    background-color: $f2;
}


input,textarea{
    @include transitions(.4s);
}


//按钮统一样式
.btn{
    display: inline-block;
    width: 100px;
    height: 30px;
    line-height: 28px;
    border: 1px solid $acolor;
    @include borradius(4px);
    font-size: 12px;
    text-align: center;
    cursor: pointer;
    @include transitions(.5s);
}
.btn.borderbtn{
    color: $acolor;
    background-color: transparent;
    &:hover,&.active{
        color: $sf;
        background-color: $acolor;
    }
}
.btn.bgbtn{
    color: $sf;
    background-color: $acolor;
}
.btn.yelowbtn{
    color: $yelow;
    border-color: $yelow;
    background-color: transparent;
    &:hover{
        color: $sf;
        background-color: $yelow;
    }
}
.btn.graybtn{
    color: $s6;
    border-color: $sc;
    background-color: transparent;
    &:hover,&.active{
        color: $acolor;
        border-color: $acolor;
    }
}




//用户中心顶部  显示区域   蓝色bg
.content-header{
    width: 100%;
    height: 80px;
    background-color: $acolor;
    .container{
        position: relative;
        width: 1000px;
        height: 100%;
    }
    //入驻流程
    .header-process{
        width: 100%;
        height: 100%;
        padding: 25px 0;
        //流程
        .process{
            float: left;
            line-height: 30px;
            font-size: 0;
        }
        .ptitle{
            display: inline-block;
            font-size: 14px;
            color: $sf;
            margin-right: 20px;
        }
        .label{
            position: relative;
            display: inline-block;
            color: $qblue;
            font-size: 14px;
            a{
                color: $qblue;
                @include transitions(.4s);
                &:hover{
                    color: $sf;
                }
            }
        }
        .iconfont{
            font-size: 14px;
            margin-right: 5px;
        }
        .active{
            color: $sf;
            a{
                color: $sf;
            }
        }
        .xian{
            font-size: 13px;
            margin: 0 10px;
        }
        //按钮
        .hbtn{
            float: right;
            width: 100px;
            height: 30px;
            line-height: 30px;
            @include borradius(15px);
            background-color: $qblue;
            font-size: 14px;
            color: $s9;
            text-align: center;
            margin-left: 20px;
            transition: 0.4s all;
        }
        .submitbtn{
            color: $acolor;
            background-color: $sf;
            cursor: pointer;
            &:hover{
                color: $sf;
                background-color: $yelow;
            }
        }
        .textbtn{
            color: $red;
            cursor: pointer;
        }
        .textbtn:hover~.tink-audit{
            display: block;
        }
    }
    //公司信息
    .header-info{
        width: 100%;
        font-size: 0;
        padding: 10px 0;
        .info-label{
            display: inline-block;
            vertical-align: middle;
        }
        .info-logo{
            position: relative;
            width: 60px;
            height: 60px;
            line-height: 60px;
            text-align: center;
            img{
                width: 100%;
                vertical-align: middle;
            }
        }
        .info-logo.iconfont:after{
            position: absolute;
            bottom: 0;
            right: 0;
            display: block;
            width: 16px;
            height: 16px;
            content: '';
            background: url(../../img/infor/icon-provce.png) no-repeat center;
            background-color: $yelow;
            @include borradius(50%);
            overflow: hidden;
        }
        .img-wrapper{
            width: 100%;
            height: 100%;
            @include borradius(50%);
            overflow: hidden;
            text-align: center;
        }
        //公司名称
        .info-name{
            font-size: 16px;
            color: $sf;
            margin-left: 20px;
            margin-right: 10px;
        }
        //用户类型
        .info-type{
            width: 90px;
            height: 30px;
            line-height: 30px;
            font-size: 14px;
            color: $yelow;
            text-align: center;
            background: url(../../img/infor/usertypebg.png) no-repeat center;
        }
        //重新认证按钮
        .btn{
            color: $sf;
            border: 1px solid $sf;
            @include borradius(15px);
            background-color: transparent;
            margin-top: 15px;
            &:hover{
                color: $acolor;
                background-color: $sf;
            }
        }
        .btn:hover~.tink-audit{
            display: block;
        }
    }
    //审核失败问题
    .tink-audit{
        display: none;
        position: absolute;
        top: 72px;
        right: 0;
        z-index: 1;
        width: 360px;
        height: auto;
        color: $s6;
        font-size: 12px;
        line-height: 22px;
        @include borradius(4px);
        background-color: $sf;
        padding: 26px 30px;
        @include box_shadows(0,2px,10px,0,rgba(0,0,0,.3));
        &:before{
            position: absolute;
            right: 20px;
            top: -10px;
            display: block;
            content: '';
            border-left: 10px solid transparent;
            border-right: 10px solid transparent;
            border-bottom: 10px solid $sf;
        }
        .iconfont{
            position: absolute;
            top: 5px;
            right: 10px;
            color: $sc;
            font-size: 10px;
            margin-right: 0;
            cursor: pointer;
            &:hover{
                color: $acolor;
            }
        }
    }
}





//用户中心  内容显示区域
.main{
    width: 100%;
    height: auto;
    min-height: 550px;
    padding-top: 20px;
    padding-bottom: 40px;
    .container{
        width: 1000px;
        height: 100%;
    }
    .main-left{
        float: left;
        width: 220px;
        min-height: 400px;
    }
    .main-right{
        float: right;
        width: 760px;
        min-height: 400px;
    }
    .main-content,.contentbg{
        background-color: $sf;
        @include box_shadows(0,0,3px,0,rgba(0,0,0,.1));
    }
}




//左侧
.main-left{
    //最外层列表
    .main-list{
        width: 100%;
        height: 100%;
        padding: 30px;
        li{
            margin-bottom: 20px;            
        }
    }
    .list-div{
        position: relative;
        color: $s3;
        font-size: 16px;
        cursor: pointer;
        a{
            color: $s3;
        }
        .iconfont{
            margin-right: 10px;
        }
        &:after{
            display: inline-block;
            content: '';
            width: 11px;
            height: 11px;
            background: url(../../img/infor/icon-jian.png) no-repeat center;
            margin-left: 10px;
            opacity: 0;
            @include transitions(opacity .4s);
        }
        &.active:after{
            background-image: url(../../img/infor/icon-add.png);
        }
        &:hover:after{
            opacity: 1;
        }
    }
    //第二级列表
    .list-wrapper{
        font-size: 14px;
        li{
            margin-top: 20px;
            padding-left: 26px;
        }
        a{
            color: $s9;
        }
        a:hover,a.active{
            color: $acolor;
        }
    }
}






.main-right{
    padding: 30px 30px 50px 30px;
    h3{
        color: $s3;
        font-size: 18px;
        font-weight: normal;
        line-height: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid $borcolor;
    }
}


//添加样式
.lineadd-wrapper{
    width: 100%;
    height: 40px;
    line-height: 38px;
    border: 1px dashed $borcolor;
    @include borradius(4px);
    text-align: center;
    margin: 20px 0;
    cursor: pointer;
    .line-addbtn{
        color: $acolor;
        font-size: 14px;
        @include transitions(.4s);
    }
    .iconfont{
        font-size: 14px;
        color: $acolor;
        margin-right: 10px;
    }
}







//弹窗公共样式
.site-window{
    .container{
        width: 1000px;
        .win-content{
            top: 50%;
            left: auto;
            right: auto;
            bottom: auto;
            @include transformt(translateY(-50%));
            width: 420px;
            height: auto;
            margin-left: 410px;
            margin-right: 210px;
            background-color: #ffffff;
        }
    }
    .content-title .btn-close{
        line-height: normal;
        color: $s9;
        font-size: 14px;
        background: none;
        &:hover{
            color: $acolor;
            background: none;
        }
    }
    .content-form{
        padding: 30px;
    }
    .form-item{
        font-size: 0;
        margin-bottom: 20px;
        .label{
            display: inline-block;
            width: 100px;
            font-size: 14px;
            color: $s6;
            
        }
        .text,.item-right{
            display: inline-block;
            width: 380px;
            font-size: 14px;
            color: $s3;
        }
        .inputtext{
            width: 260px;
            height: 36px;
            @include borradius(4px);
            border: 1px solid $borcolor;
            padding: 0 10px;
            color: $s3;
            font-size: 14px;
            @include inputplace(#999999);
            overflow: hidden;
        }
    }
    .last-form-item{
        margin-bottom: 0;
    }
    .label36{
        height: 36px;
        line-height: 36px;
        vertical-align: top;
    }
    .upbtn{
        display: inline-block;
        width: 160px;
        height: 36px;
        line-height: 36px;
        font-size: 14px;
        text-align: center;
        cursor: pointer;
        @include borradius(4px);
    }
    //镂空btn
    .borderbtn{
        border: 1px solid $acolor;
        color: $acolor;
        background-color: transparent;
    }
    //纯色btn
    .bgbtn{
        background-color: $acolor;
        color: #ffffff;
    }
}







//删除提示弹框
.win-delalert{
    .container .win-content{
        width: 420px !important;
        margin-left: 410px !important;
    }
}
.po-alert{
    width:400px;
    height:160px;
    background-color: #fff;
    color: #666666;
    padding:30px 0;
    margin:250px auto 0;
    text-align: center;
    .title{
        display: inline-block;
        width: auto;
        min-width: 120px;
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        text-align: right;
        &:before{
            display: inline-block;
            content: '';
            width: 30px;
            height: 30px;
            background: url(../../img/infor/alert.png) no-repeat left;
            margin-right: 10px;
            vertical-align: middle;
        }
    }
    .btn-list{
        width:180px;
        margin:15px auto 0;
    }
    a{
        display: block;
        width: 72px;
        height: 36px;
        font-size: 14px;
        @include borradius(2px);
        cursor: pointer;
    }
    .btn-re{
        line-height: 34px;
        color: #666666;
        border:1px solid #CCCCCC;
        background: transparent;
        &:hover{
            color: $acolor;
            border-color: $acolor;
        }
    }
    .btn-conf{
        line-height: 36px;
        color: #fff;
        background: $acolor;
    }
}






//下拉列表
.select{
    position: relative;
    cursor: pointer;
    .seloff{
        position: absolute;
        top: 17px;
        right: 10px;
        display: block;
        width: 12px;
        height: 6px;
        background: url(../../img/infor/icon-down.png) no-repeat center;
        @include transitions(.4s);
    }
    &.active{
        .seloff{
            @include transformt(rotate(180deg));
        }
    }
    input{
        cursor: pointer;
    }
}
.select_list{
    display: none;
    position: absolute;
    top: 42px;
    left: 0;
    width: 100%;
    max-height: 144px;
    border: 1px solid $borcolor;
    background-color: #ffffff;
    @include box_shadows(0,0,3px,0,rgba(0,0,0,.2));
    z-index: 2;
    overflow: hidden;
    .li{
        width: 100%;
        height: 36px;
        line-height: 36px;
        font-size: 12px;
        color: #7a7a7a;
        padding-left: 10px;
        background-color: #ffffff;
        cursor: pointer;
        &:hover{     
            background-color: $f2;
        }
        &.selected{
            color: $acolor;
            background-color: $f2;
        }
    }
}   





//tab-nav  切换组件
.tab-wrapper{
    margin-top: 10px;
    padding-bottom: 29px;
    border-bottom: 1px solid $se;
    .tab-nav{
        position: relative;
        float: left;
        color: $s9;
        height: 18px;
        font-size: 14px;
        line-height: 18px;
        margin-right: 40px;
        cursor: pointer;
        &:last-of-type{
            margin-right: 0;
        }
        &:after{
            position: absolute;
            left: 0;
            bottom: -30px;
            display: block;
            content: '';
            width: 100%;
            height: 2px;
            background-color: $acolor;
            transform-origin: center;
            @include transformt(scale(0));
            @include transitions(.4s);
        }
        a{
            color: $s9;
            @include transitions(.4s);
            &:hover{
                color: $acolor;
            }
        }
    }
    .tab-nav:hover,.tab-nav.active{
        color: $acolor;
        &:after{
            @include transformt(scale(1));
        }
    }
}





//多选按钮组
.check-wrap {
    display: inline-block;
    font-size: 14px;
    color: $s6;
    cursor: pointer;
    font-size: 0;
    margin-right: 10px;
    input{
        display: none;
    }
    label{
        display: block;
        width: 100%;
    }
    //选择框
    .check {
        position: relative;
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 1px solid $s9;
        color: #fff;
        @include borradius(4px);
        margin-right: 5px;
        vertical-align: -3px;
        cursor: pointer;
        overflow: hidden;
        @include transitions(.4s);
        &:after{
            position: absolute;
            top: 0;
            left: 0;
            display: none;
            content: " ";
            width: 100%;
            height: 100%;
            background: url(../../img/list/check.png) no-repeat 50% 50%;
            @include transitions(.4s);
        }
    }
    //描述文字
    .check-text {
        cursor: pointer;
        font-size: 14px;
        @include transitions(.4s);
    }
    &:hover{
        .check {
            border-color: $acolor;
        }
        .check-text{
            color: $acolor;
        }
    }
    &.checked{
        .check {
            border:none;
            background-color: $acolor;
            &:after {
                display: inline-block;
            }
        }
    }
}